body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.4;
}

.mce-content-body ol,
.mce-content-body ul {
    display: block !important;
    margin-block-start: 1em !important;
    margin-block-end: 1em !important;
    padding-inline-start: 40px !important;
    unicode-bidi: isolate !important;
}

.mce-content-body ol li {
    list-style-type: decimal !important;
}

.mce-content-body ul li {
    list-style-type: disc !important;
}

table {
    border-collapse: collapse
}

table:not([cellpadding]) td, table:not([cellpadding]) th {
    padding: .4rem
}

table[border]:not([border="0"]):not([style*=border-width]) td, table[border]:not([border="0"]):not([style*=border-width]) th {
    border-width: 0px
}

table[border]:not([border="0"]):not([style*=border-style]) td, table[border]:not([border="0"]):not([style*=border-style]) th {
    /*border-style: solid*/
}

table[border]:not([border="0"]):not([style*=border-color]) td, table[border]:not([border="0"]):not([style*=border-color]) th {
    /*border-color: #ccc*/
}

figure {
    display: table;
    margin: 1rem auto
}

figure figcaption {
    color: #999;
    display: block;
    margin-top: .25rem;
    text-align: center
}

hr {
    /*border-color: #ccc;*/
    /*border-style: solid;*/
    /*border-width: 1px 0 0 0*/
}

code {
    background-color: #e8e8e8;
    /*border-radius: 3px;*/
    padding: .1rem .2rem
}

.mce-content-body:not([dir=rtl]) blockquote {
    /*border-left: 2px solid #ccc;*/
    margin-left: 1.5rem;
    padding-left: 1rem
}

.mce-content-body[dir=rtl] blockquote {
    /*border-right: 2px solid #ccc;*/
    margin-right: 1.5rem;
    padding-right: 1rem
}

/* 隐藏编辑器的边框 */
.tox-tinymce {
    border: none !important;
}

/* 确保编辑状态下的边框也被隐藏 */
.mce-content-body, .mce-edit-focus, .mce-edit-focus:focus, .mce-content-body:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.publish-editor:focus {
    border: none !important; /* 聚焦时移除边框 */
}

/* 定义滚动条轨道 */
.mce-content-body {
    overflow-y: auto; /* 确保垂直方向上可以滚动 */
}

.mce-content-body::-webkit-scrollbar {
    width: 5px;
    height: 20px;
    flex: none;
    order: undefined;
    flex-grow: 0;
    margin: 100px 0px !important;
    border-radius: 3px;
}

/* 定义滚动条滑块 */
.mce-content-body::-webkit-scrollbar-thumb {
    background: rgb(217, 217, 217);
    border-radius: 3px;
}

/* 可选：定义当鼠标悬停在滑块上时的样式 */
.mce-content-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.7); /* 更深的颜色 */
}
